#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    QString style = "QPushButton{color:red}";
    style += ":hover{color:blue}";
    style += ":pressed{color:green}";

    this->setStyleSheet(style);
}

Widget::~Widget()
{
    delete ui;
}

